<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        *{margin: 0;padding: 0;}
        .body{
            padding-top: 20px;
            background-color: #27AE60;
            width: 100%;
            height: 1000px;
        }
        .nav{
            position: relative;
            margin: 0 auto;
            width:500px;
            height: 45px;
            background-color: #1E8449;
        }
        .nav li{
            position: relative;
            list-style: none;
            display: inline-block;
            color: white;
            font-weight: bold;
            height: 45px;
            padding:16px;
            box-sizing: border-box;         
        }
        .nav li:hover{
            background-color: #9B59B6;
        }
        .nav li .p{
            display: none;
           position: absolute;
            width: 220px;
            background-color: #9B59B6;
            top:45px;
            left: 0px;
          
        }
        .nav li .p .span{
            padding: 16px;
            color: white;
        }
        .nav li:hover .p{
            display: block;
        }



    </style>
</head>
<body>
    <div class="body">
        <div class="nav">
            <ul>
                <li style="padding-right: 20px;">HOME</li>
                <li>SERVICES
                    <div class="p">
                        <div class="span">Web Fesign</div>
                        <div class="span">Web Development</div>
                        <div class="span">web Hosting</div>
                    </div>
                
                </li>
                <li>ABOUT
                    <div class="p">
                        <div class="span">Our Company</div>
                        <div class="span">Our Team</div>
                        <div class="span">Our Reach</div>
                    </div>
                </li>
                <li style="padding-left: 21px;">BLOG</li>
                <li >CONTACT</li>
            </ul>
        </div>
    </div>
</body>
</html>